package com.zwt;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;


/**
 * 可以使用@EnableEurekaClient注解代替@EnableDiscoveryClient
 * 在spring cloud中服务组件有多种选择 @EnableDiscoveryClient为各种服务组件提供了支持
 * @EnableEurekaClient 只能与Eureka配合工作
 */
@SpringBootApplication
@MapperScan("com.zwt.dao")
@EnableEurekaClient
public class ProviderUserApplication {

	public static void main(String[] args) {
		SpringApplication.run(ProviderUserApplication.class, args);
		System.out.println("provide-user启动了！！！！");
	}
}
